import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// 引入vcharts
import VCharts from 'v-charts'


Vue.use(VCharts)
import axios from 'axios'

const timer = setInterval(() => {
    store.commit('updateUnsettledTime')
}, 1000)

Vue.prototype.$timer = timer
Vue.prototype.$axios = axios
Vue.config.productionTip = false
Vue.use(ElementUI);

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
